package com.baikeyang.modules.base;

import java.util.Comparator;
import java.util.Map;
import java.util.TreeMap;

/**
 * Created by lenovo on 2019/7/1.
 */
public class BaseTest2 {

    public static void main(String[] args) {
        Map<Integer, Integer> map = new TreeMap<Integer, Integer>();
        map.put(4, 23);
        map.put(9, 22);
        map.put(2, 54);
        map.put(3, 52);
        map.put(1, 13);
        System.out.println(map);
    }

}
